package com.newlink.building.userinfo.mvp.contract

import com.newlink.building.common_base.base.IModel
import com.newlink.building.common_base.base.IPresenter
import com.newlink.building.common_base.base.IView
import com.newlink.building.common_base.model.bean.HttpResult
import com.newlink.building.common_base.model.bean.PropertyManagerData
import io.reactivex.Observable

interface Module_UserInfo_PropertyManagementContract {

    interface View : IView {
        fun getPropertyUserListSuccess(data: MutableList<PropertyManagerData>)
    }

    interface Presenter : IPresenter<View> {
        fun getPropertyUserList(token: String, prjId: String, name: String)
    }

    interface Model : IModel {
        fun getPropertyUserList(
            token: String,
            prjId: String,
            name: String
        ): Observable<HttpResult<MutableList<PropertyManagerData>>>
    }
}